﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Opennav.MapGenerator.Map.MapTiles
{
    // highway=speed_camera auf NODE

    // barrier=wall, hedge, fence, city_wall, retaining_wall
    // cycleway

    public enum MapLineType : short
    {
        Motorway = 0x0001, // highway=motorway,motorway_link
        Type1 = 0x0002, // highway=trunk,trunk_link,primary,primary_link
        Type2 = 0x0003, // highway=secondary,secondary_link
        Type3 = 0x0004, // highway=tertiary,tertiary_link
        Type4 = 0x0005, // highway=unclassified
        Type5 = 0x0006, // highway=residential,living_street,minor
        Track = 0x0007, // highway=track,unsurfaced

        Rail = 0x0008, // railway=rail,narrow_gauge
        Tram = 0x0009, // railway=tram,light_rail
        Subway = 0x000a, // railway=subway
        Monorail = 0x000b, // railway=monorail
        Funicular = 0x000c, // railway=funicular

        // bridge=yes ???
        // tunnel=yes ???
        River = 0x000d, //waterway=river,canal,ditch,drain
        Stream = 0x000e, // waterway=stream
        Weir = 0x000f, // waterway=weir

        Raceway = 0x0010,    // highway=raceway
        Coast = 0x0011,             // 
        BorderCountry = 0x0012

        // junction=roundabout???
    }
    public enum MapShapeType : short 
    {
        River = 0x0001, // waterway=riverbank
        Lake = 0x0002, 
        Wetland = 0x0003,
        Residential = 0x0004,
        Industrial = 0x0005,
        Military = 0x0006,
        Cemetary = 0x0007,
        Shopping = 0x0008,
        Farming = 0x0009,
        Forest = 0x000a,
        Grass = 0x000b,
        Cultivation = 0x000c,
        Recreation = 0x000d,
        Glacier = 0x000e,
        Dam = 0x000f,

        Beach = 0x0010,         // landuse=beach
        Building = 0x0011,

    }

    // railway=platform         LINE,SHAPE

    // railway=station an       NODE,SHAPE
    // railway=halt             NODE
    // railway=tram_stop        NODE
    // railway=subway_entrance  NODE
    public enum MapPointType : short
    {
        City1 = 0x0001,
        City2 = 0x0002,
        City3 = 0x0003,
        City4 = 0x0004,
        Suburb = 0x0005,
        Toll
    }
}
